﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StreamingApp
{
    public class RootObject
    {
        public int ItemId { get; set; }
        public int Version { get; set; }
        public int ParentId { get; set; }
        public int OrderNo { get; set; }
        public string ThumbnailUrl { get; set; }
        public object VideoUrl { get; set; }
        public string Title { get; set; }
        public string SubTitle { get; set; }
        public string Description { get; set; }
        public int ItemLevel { get; set; }
        public int? TotalViews { get; set; }
        public int? TotalWatches { get; set; }
        public object Price { get; set; }
        public DateTime CreationDatetime { get; set; }
        public DateTime ModifyDatetime { get; set; }
        public object OwnerName { get; set; }
        public int OwnerId { get; set; }
        public object PrevOwnerId { get; set; }
        public object PrivacySettings { get; set; }
        public object Ranking { get; set; }
        public object OriginalVersionId { get; set; }
        public object TotalTime { get; set; }
        public int GroupId { get; set; }
        public string BackGroundImage { get; set; }
        public int ResourceId { get; set; }
        public object Source { get; set; }
        public object Live { get; set; }
        public object Visits { get; set; }
        public bool IsLeaf { get; set; }
        public int? Status { get; set; }
    }

    public class MyData
    {
        public List<RootObject> JSON { get; set; }
    }
}
